package com.csxy.systemmanager.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.csxy.systemmanager.common.ResponseResult;
import com.csxy.systemmanager.entity.Order;
import org.apache.ibatis.annotations.Param;

public interface OrderService {

//    ResponseResult selectAllOrderList();//获取所有订单

    IPage<Order> getOrderListByPage(Integer current,Integer size,Order order);

    ResponseResult insertOrders(@Param("order") Order order);//添加订单

    ResponseResult updateOrdersById(@Param("order") Order order); //修改订单

    ResponseResult searchOrdersByShopName(@Param("order") Order order);//根据订单名称查询订单
    ResponseResult deleteOrdersById(Integer orderId);//根据订单id删除订单

}
